###############################################################################
# SuperLinks                                                                  #
# Copyright (c) 2000-2007 Greg Nolle (http://greg.nolle.co.uk)                #
###############################################################################
# This program is free software; you can redistribute it and/or modify it     #
# under the terms of the GNU General Public License as published by the Free  #
# Software Foundation; either version 2 of the License, or (at your option)   #
# any later version.                                                          #
#                                                                             #
# This program is distributed in the hope that it will be useful, but WITHOUT #
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or       #
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for   #
# more details.                                                               ##                                                                             #
# You should have received a copy of the GNU General Public License along     #
# with this program; if not, write to the Free Software Foundation, Inc.,     #
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                 #
###############################################################################
# System.pm.pl -> System variable module                                      #
###############################################################################
# DON'T EDIT BELOW UNLESS YOU KNOW WHAT YOU'RE DOING!                         #
###############################################################################
package System;

require Exporter;

@ISA       = qw(Exporter);
@EXPORT    = qw(@EXPORT_OK);
@EXPORT_OK = qw($SYSTEM);

use strict;
use vars qw($SYSTEM);

$SYSTEM = { #{start}
  "INSTALLED"                 => "0",

  "DB_PATH"                   => "$SL::PATH/Private/Database",
  "TEMP_PATH"                 => "$SL::PATH/Private/Database/Temp",
  "LOGS_PATH"                 => "$SL::PATH/Private/Logs",
  "BACKUP_PATH"               => "$SL::PATH/Private/Backups",
  "PUBLIC_PATH"               => "$SL::PATH/Public",
  "CACHE_PATH"                => "$SL::PATH/Private/Database/Temp/Cache",

  "SCRIPT_URL"                => "",
  "PUBLIC_URL"                => "",

  "DB_TYPE"                   => "dbm",
  "DB_PREFIX"                 => "SL_",
  "DB_HOST"                   => "localhost",
  "DB_PORT"                   => "",
  "DB_NAME"                   => "superlinks",
  "DB_USERNAME"               => "root",
  "DB_PASSWORD"               => "",

  "FLOCK"                     => "0",

  "MAIL_TYPE"                 => "SENDMAIL",
  "SENDMAIL"                  => "/usr/lib/sendmail",
  "SMTP_SERVER"               => "localhost",

  "LOG_ERRORS"                => "1",
  
  "START_TAG"                 => "[%",
  "END_TAG"                   => "%]",

  "LOCALTIME_OFFSET"          => "0",
  "LOCALTIME_DST"             => "0",
  
  "SHOW_CGI_ERRORS"           => "1",
  "CACHING"                   => "template",
  "CHARSET"                   => "iso-8859-1"
}; #{end}

1;